package com.ruoyi.hr.domain.salary;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 员工基本薪资信息
 */
public class EmpSalary extends BaseEntity {
    private static final long serialVersionUID = 1L;

    //员工编号
    @Excel(name = "员工编号")
    private String eid;

    //员工姓名
    @Excel(name = "姓名")
    private String empName;

    //员工状态 0正式 1使用 2离职
    @Excel(name = "员工状态")
    private String empState;

    //公司信息
    private String compName;

    //岗位信息
    private String jobName;

    //基本工资
    @Excel(name = "基本工资")
    private BigDecimal basePay;

    //岗位工资
    @Excel(name = "岗位工资")
    private BigDecimal postSalary;

    //绩效工资
    @Excel(name = "绩效工资")
    private BigDecimal meritPay;

    //加班工资
    @Excel(name = "加班工资")
    private BigDecimal overtimePay;

    //工资总额
    private BigDecimal totalPay;

    @Excels({
            @Excel(name = "工作天数", targetAttr = "days"),
            @Excel(name = "请假天数", targetAttr = "tdays"),
            @Excel(name = "月份", targetAttr = "month")
    })
    private EmpDate empDate;

    public BigDecimal getOvertimePay() {
        return overtimePay;
    }

    public void setOvertimePay(BigDecimal overtimePay) {
        this.overtimePay = overtimePay;
    }

    public EmpDate getEmpDate() {
        return empDate;
    }

    public void setEmpDate(EmpDate empDate) {
        this.empDate = empDate;
    }

    public BigDecimal getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(BigDecimal totalPay) {
        this.totalPay = totalPay;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public BigDecimal getBasePay() {
        return basePay;
    }

    public void setBasePay(BigDecimal basePay) {
        this.basePay = basePay;
    }

    public BigDecimal getPostSalary() {
        return postSalary;
    }

    public void setPostSalary(BigDecimal postSalary) {
        this.postSalary = postSalary;
    }

    public String getEmpState() {
        return empState;
    }

    public void setEmpState(String empState) {
        this.empState = empState;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public BigDecimal getMeritPay() {
        return meritPay;
    }

    public void setMeritPay(BigDecimal meritPay) {
        this.meritPay = meritPay;
    }
}
